class UrlMappings {
    static mappings = {
      "/$controller/$action?/$id?"{
	      constraints {
			 // apply constraints here
		  }
	  }
      //"/$controller/$logic?/$action?/$id?"   (controller:"${controller}xxx")

//      "/"(view:"/index")
      "/"(controller:"index", action:"index")
	  "500"(view:'/error')

//      "/product"(controller:"product")
// 
//        "/product" {
//            controller = "product"
//            action = "list"
//        }
//        "/hello"(uri:"/hello.dispatch")
	}
}
